package com.smxy.mall.dao;

import com.smxy.mall.entity.Notice;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface NoticeDao extends JpaRepository<Notice,String>, JpaSpecificationExecutor<Notice> {
    List<Notice> findByOrderByUpdateTimeDesc();
}
